package com.huaqin.obeacons;

import android.content.Context;
import android.view.View;
import android.view.ViewGroup;
import android.widget.FrameLayout;

public abstract class BaseHolderView<T> extends FrameLayout {
	public BaseHolderView(Context paramContext) {
		super(paramContext);
		View localView = onAttach(paramContext);
		if (localView != null)
			addView(localView);
	}

	public abstract void bindItemView(View paramView, ViewGroup paramViewGroup,
			int paramInt, T paramT, Object[] paramArrayOfObject);

	public abstract View onAttach(Context paramContext);
}
